using AutoMapper;
using NBModular.Lib.Mapper.AutoMapper;
using NBModular.Module.Member.Application.UserScoresService.ViewModels;
using NBModular.Module.Member.Domain.UserScores;

namespace NBModular.Module.Member.Application.UserScoresService
{
    public class MapperConfig : IMapperConfig
    {
        public void Bind(IMapperConfigurationExpression cfg)
        {
            cfg.CreateMap<UserScoresAddModel, UserScoresEntity>();
            cfg.CreateMap<UserScoresEntity, UserScoresUpdateModel>();
            cfg.CreateMap<UserScoresUpdateModel, UserScoresEntity>();
        }
    }
}
